package com.ymkj.testdemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HtmlController {

    @RequestMapping("/websocket")
    public String websocket(){
        return "WebsocketTest";
    }
    @RequestMapping("/websocket2")
    public String websocket2(){
        return "WebsocketTest2";
    }
}
